Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Overview You want to load locally stored XML files into Table widgets for post-processing. Solution The Table widget provides a path constructor parameter that loads the XML from a locally stored data file, rather from a remote Device
See matching posts in thread - Problem with file copy for JunO...
P art 6 of 6 of On-Box Storage Previous Article: On-Box Storage: Option 4 - JUNOS Accounting Files as a Data Store NOTE: This applies to SLAX version 1.0 and higher
Answer As far as whether or not you can update a virus definition file, I am not familiar with the process to do that in devices running Junos OS, but if it is something that can be accomplished through CLI commands, rather than through shell, then it should be possible to do it from a script as well
You have to exercise a little extra caution on file creation. (See “Gotchas” below)
Answer A JMB is a XML file that contains the following information: Manifest—basic router and event data Trend data—device counters, statistics, and settings Attachments—A list of attachment files associated with the JMB The attachments include both text and XML files. The text files are concatenated outputs of various CLI commands
The Loading XML Files into Tables page in Junos PyEZ provides the information you need, including code samples and a video
Answer The size of a JMB depends mainly on the large attachment files it carries, such as logs and device configuration file
Use Local Scripts with an External Data Set This article shows how to pull information from an external data set (XML file) to use in a local (commit) script to configure devices that may or may not have unique configuration needs
Structure Hosts File Structure The Ansible hosts file is one of the most important files to get structurally correct